package com.qili.service.supplier.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supplier.ProjectCollect;
import com.qili.mapper.supplier.ProjectCollectMapper;
import com.qili.service.supplier.ProjectCollectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author zhaoyongke
 * @date 2021/3/22
 * @description
 */
@Service
public class ProjectCollectServiceImpl extends BaseServiceImpl<ProjectCollect,String> implements ProjectCollectService {

    @Autowired
    private ProjectCollectMapper projectCollectMapper;
    @Override
    public BaseMapper<ProjectCollect, String> getMappser() {
        return projectCollectMapper;
    }
    @Override
    public  List<ProjectCollect> selectCollect(ProjectCollect dto){
       return   projectCollectMapper.selectCollect(dto);
    }
    @Override
    public int deleteCollect(Map map){
        return projectCollectMapper.deleteCollect(map);
    }

    @Override
    public int deleteCollectApp(Map map){
        return projectCollectMapper.deleteCollectApp(map);

    }
}
